// 用户
import {
	request
} from "../utils/request"

export default {
	// 获取地区列表
	regionWxList: () => {
		return request({
			url: `/mall/region/wx/list`,
		})
	},
	//添加/编辑地址
	memberAddressWxAdd: (data) => {
		return request({
			url: `/member/address/wx/add`,
			method: 'POST',
			data
		})
	},
	// 删除地址
	memberAddressWxRemove: (data) => {
		return request({
			url: `/member/address/wx/remove`,
			method: 'POST',
			data
		})
	},
	// 地址列表
	memberAddressWxList: () => {
		return request({
			url: `/member/address/wx/list`
		})
	},
	// 设置默认地址
	memberAddressWxDefault: (data) => {
		return request({
			url: `/member/address/wx/default/${data.addressId}`
		})
	},
	// // 获取我的关注
	// followList: (data) => {
	// 	return request({
	// 		url: `/follow/list`,
	// 		method: 'POST',
	// 		contentType: "application/x-www-form-urlencoded",
	// 		data
	// 	})
	// },


}
